<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1"/>
    <meta http-equiv="X-UA-Compitable" content="IE=edge">
    <title>驾驶仓管理页面</title>
    <!--[if lt IE 9]>
    <script src="js/html5shiv.min.js"></script>
    <script src="js/respond.min.js"></script>
    <![endif]-->
    <link rel="stylesheet" href="css/bootstrap.min.css">
    <link rel="stylesheet" href="css/bootstrap-table.css">
    <link rel="stylesheet" href="css/bootstrap-editable.css">
    <link rel="stylesheet" href="css/common.css">
</head>
<body id="skin-blur-blue" class="settingbody">
<div class="topNav">
    <div class="tm-icon">
        <a href="javascript:void(0)" id="menu-toggle">
            <img src="images/menu.png" alt="">
        </a>
    </div>
    <a class="logo" href="index.html">
        <img src="images/logo.png" alt="" class="img-responsive"/>
    </a>
    <div class="tm-icon">
        <a  href="index.html">
            <img src="images/home.png" alt="返回首页"/>
        </a>
    </div>
    <div class="tm-icon">
        <a href="javascript:void(0)" title="时间回溯"
           data-container="body" data-toggle="popover" data-placement="bottom"
           data-content="底部的 Popover 中的一些内容">
            <img src="images/time.png" alt=""/>
        </a>
    </div>
    <div class="tm-icon">
        <a  href="javascript:void(0)">
            <img src="images/help.png" alt="帮助"/>
        </a>
    </div>
    <div class="tm-icon">
        <a  href="javascript:void(0)">
            <img src="images/lock.png" alt="锁定"/>
        </a>
    </div>
    <div class="tm-icon">
        <a  href="javascript:void(0)">
            <img src="images/baseline.png" alt="基线"/>
        </a>
    </div>
    <div class="searchBox">
        <div class="input-group">
            <label for="search" class="input-group-addon"></label>
            <input type="text" class="form-control" id="search">
        </div>
    </div>
    <div class="tm-icon">
        <a  href="javascript:void(0)">
            <img src="images/server.png" alt=""/>
        </a>
    </div>
    <div id="time">
        <span id="hours">10</span>
        :
        <span id="min">04</span>
        :
        <span id="sec">31</span>
    </div>
    <div class="tm-icon">
        <a  href="javascript:void(0)" title="用户信息"
            data-container="body" data-toggle="popover" data-placement="bottom"
            data-content="底部的 Popover 中的一些内容">
            <img src="images/userinfo.png" alt=""/>
        </a>
    </div>
</div>
<div class="Bcontent">
    <div class="left">
        <ul class="list-unstyled side-menu" id="imgTab">
            <li>
                <a class="sa-side-slt" id="text" href="#sCont1" data-toggle="tab" >
                    <img src="images/leftbtn/leftbtn_view.png" alt="" title="驾驶舱跳转">
                </a>
            </li>
        </ul>
    </div>
    <div class="right">
        <div id="imgTabContent">
            <div class="row row-zero">
                <div class="col-md-12">
                    <div class="panel">
                        <div class="panel-heading bk-bg-primary">
                            <h6>驾驶仓</h6>
                        </div>
                        <div class="panel-body range">
                            <div id="toolbar1">
                                <button id="button" class="btn btn-default">新增</button>
                            </div>
                            <table id="table"
                                   data-toggle="table"
                                   data-toolbar="#toolbar1"
                                   data-height="360"
                                   data-url="json/table.json"
                                   data-pagination="true"
                                   data-show-columns="true"
                            >
                                <thead>
                                <tr>
                                    <th data-field="name"  data-editable="true" data-sortable="true">业务名称</th>
                                    <th data-field="ip"  data-editable="true" data-sortable="true">描述</th>
                                    <th data-field="port"  data-editable="true" data-sortable="true">创建人</th>
                                    <th data-field="Interval-time"  data-editable="true" data-sortable="true">创建时间</th>
                                    <th data-field="pre-Interval-time"  data-editable="true" data-sortable="true">修改人</th>
                                    <th data-field="state"  data-editable="true" data-sortable="true">修改时间</th>
                                    <th data-formatter="operateFormatter" data-events="operateEvents" data-sortable="true">操作</th>
                                </tr>
                                </thead>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div id="main"></div>
</body>
</html>
<script src="js/jquery-3.2.1.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/changeBackground.js"></script>
<script src="js/bootstrap-table.js"></script>
<script src="js/bootstrap-table-zh-CN.js"></script>
<script src="js/bootstrap-table-export.js"></script>
<script src="js/tableExport.js"></script>
<script src="js/bootstrap-table-editable.js"></script>
<script src="js/bootstrap-editable.js"></script>
<script>
    function operateFormatter(value, row, index) {
        return [
            '<img src="images/edit.png"/>',
            '<img src="images/false.png" style="padding-left: 5%;padding-right: 5%;"/>'
        ].join('')
    }
</script>
